package com.tedu.ioc;



public class Test2 {

    public static void main(String[] args) throws  Exception{
        BeanIoc bb = new BeanIoc();
        Object o1= bb.getBean("user");
        System.out.println(o1);
        Object o2 = bb.getBean("dept");
        System.out.println(o2);
        Object o3 = bb.getBean("order");
        System.out.println(o3);
    }

}
